package g.m.springcloud.service;


import g.m.springcloud.entities.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;


@FeignClient(value = "read")
public interface ReadService {

    @GetMapping(value = "/read")
    List<User> read();

}
